package com.hk.newsservice;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author: aerfazhe
 * @Date: 2021/8/12 16:01
 * @Statement:
 */
@MapperScan("com.hk.newsservice.mapper")
@EnableDiscoveryClient //开启Eureka客户端
@SpringBootApplication
public class NewsApplication {

    public static void main(String[] args) {
        SpringApplication.run(NewsApplication.class,args);
    }

}
